package com.zingrow.web.report.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.zingrow.web.report.response.UserResp;

public class RptInfo implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = -6366365386634075663L;

    // 报告列表
    private Integer id;

    private String name;

    private Integer modelId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String dataAddress;

    private Integer groupId;

    private String groupName;

    private Integer cycleId;

    private String cycleName;

    private String moduleSort;
    
    private Integer isCollection;

    private List<UserResp> users;
    
    public RptInfo() {
        super();
    }

    public RptInfo(String name, Integer modelId, Date startTime, Date createTime, String dataAddress) {
        super();
        this.name = name;
        this.modelId = modelId;
        this.startTime = startTime;
        this.createTime = createTime;
        this.dataAddress = dataAddress;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getModelId() {
        return modelId;
    }

    public void setModelId(Integer modelId) {
        this.modelId = modelId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDataAddress() {
        return dataAddress;
    }

    public void setDataAddress(String dataAddress) {
        this.dataAddress = dataAddress;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Integer getCycleId() {
        return cycleId;
    }

    public void setCycleId(Integer cycleId) {
        this.cycleId = cycleId;
    }

    public String getCycleName() {
        return cycleName;
    }

    public void setCycleName(String cycleName) {
        this.cycleName = cycleName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getModuleSort() {
        return moduleSort;
    }

    public void setModuleSort(String moduleSort) {
        this.moduleSort = moduleSort;
    }

    public List<UserResp> getUsers() {
        return users;
    }

    public void setUsers(List<UserResp> users) {
        this.users = users;
    }

	public Integer getIsCollection() {
		return isCollection;
	}

	public void setIsCollection(Integer isCollection) {
		this.isCollection = isCollection;
	}
	
}